/*
 * @Description:
 * @Version: 1.0
 * @Autor: like
 * @Date: 2022-03-25 08:48:28
 * @LastEditors: like
 * @LastEditTime: 2022-03-25 08:58:06
 */
#ifndef __DEMURA_OPT_BIN_EXPORT_H__
#define __DEMURA_OPT_BIN_EXPORT_H__

#include "stdafx.h"
#include <stdio.h>
#include <math.h>
#include <malloc.h>
#include <time.h>
#include <stdlib.h>
#include <string.h>
#include <Windows.h>

#include<sstream>
#include<iostream>
#include <vector>
#include<algorithm>
#include<cctype>
#include<fstream>
#include<time.h>
using namespace std;
#ifdef __cplusplus
extern "C" 
{
#endif

#ifdef DEMURALIB_EXPORTS
#define DEMURA_API __declspec(dllexport)
#else
#define DEMURA_API __declspec(dllimport)
#endif
typedef unsigned char uchar;
typedef char HI_S8;
typedef char HI_S8;
typedef char HI_CHAR;
typedef short HI_S16;
typedef int HI_S32;
typedef unsigned char HI_U8;
typedef unsigned short HI_U16;
typedef unsigned int HI_U32;
typedef unsigned long long HI_U64;
struct DllProductVersion {
    unsigned char date[16];
    unsigned char version[16];
    unsigned char testVersion[16];
    unsigned char chipType[16];
};

DEMURA_API bool TConGetVersion(DllProductVersion *proVersion);
DEMURA_API int GenerateDEMURABin(float *in_r, float *in_g, float *in_b, char *demuraIniFile0, char *demuraIniFile1);
DEMURA_API int Hisi_Dmr_Bin_Gen(char* bin_name, float* R, float* G, float* B, char* param);
DEMURA_API int Hisi_Merge_Bin();

#ifdef __cplusplus
}
#endif
#endif // !__DEMURA_OPT_BIN_EXPORT_H__

